package com.bjqg.bjqg01.bjqg.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.bjqg.bjqg01.bjqg.R;

/**
 * Created by bjqg01 on 2018/2/23.
 */

public class RegistSuccessActivity extends BaseActivity implements View.OnClickListener {

    private TextView stv;
    private Button goLogin;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_regist_success);

        initView();
    }

    private void initView() {
        stv = (TextView) findViewById(R.id.success_text);
        goLogin = (Button) findViewById(R.id.go_login);


        goLogin.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.go_login:
//                Intent intent = new Intent();
//                intent.setClass(RegistSuccessActivity.this, LoginActivity.class);
//                startActivity(intent);
                finish();
                break;
        }
    }
}
